#include <gtk/gtk.h>

int main(int argc, char **argv)
{
    gtk_init(&argc, &argv);
    GtkWidget *mountFunction = gtk_radio_button_new_with_label(NULL, "Mount");
    GtkWidget *formatFunction = gtk_radio_button_new_with_label_from_widget(GTK_RADIO_BUTTON(mountFunction), "Format");
    GtkWidget *functionBox = gtk_hbox_new(TRUE, 5);
    gtk_box_pack_start(GTK_BOX(functionBox), mountFunction, TRUE, TRUE, 0);
    gtk_box_pack_start(GTK_BOX(functionBox), formatFunction, TRUE, TRUE, 0);
    GtkWidget *functionFrame = gtk_frame_new("Function");
    gtk_container_add(GTK_CONTAINER(functionFrame), functionBox);
    GtkWidget *dialog = gtk_dialog_new();
    GtkWidget *dialogContent = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
    gtk_box_pack_start(GTK_BOX(dialogContent), functionFrame, FALSE, TRUE, 0);
    gtk_widget_show_all(dialog);
    gint response = gtk_dialog_run(GTK_DIALOG(dialog));
    return 0;
}